home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1043 / text0000.txt < prev   
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  29 lines

  1. In a message of 13 Jan 96 Troy Till wrote to All:
  2.  
  3.  TT> I'm trying to stop sounds half-way through by simply turning off the 
  4.  TT> audio dma - but most of the time I get an annoying click. I've tried 
  5.  TT> setting the volume to zero first, and a few other things, but nothing
  6.  TT> seems to help. Any ideas?
  7.  
  8. I could be wrong, but I think the problem is quite possibly unavoidable.
  9. What causes the sound is the difference in the amplitude between each
  10. sample that is played. When you suddenly set the amplitude to zero (by
  11. stopping the DMA or setting the volume to 0) you create a large
  12. differential, as the amplitude suddenly cuts off. That's what causes the
  13. click..
  14.  
  15.                                
  16.                   ..           
  17.                .''  ``.        
  18.               .'      `.       
  19.   .          .'        `.      .....
  20.   `.        .'          `.     
  21.    `.      ,'            `.    
  22.      ``..''                ``.. 
  23.                                 
  24.  
  25.                                ^ Sound turned off here
  26.  
  27. .\dam.          [Team AMIGA]          //\ ad32@brighton.ac.uk \\/
  28.  
  29.